import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'kuCunGuanLi-'

export default {
  path: '/kuCunGuanLi',
  name: 'kuCunGuanLi',
  redirect: {
    name: `${pre}console`
  },
  meta: { ...meta, title: '库存管理' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'yuanLiaoGuanLi',
      name: '15100',
      meta: {
        ...meta,
        title: '原料管理'
      }
      // component: () => import('@/pages/kuCunGuanLi/yuanLiaoGuanLi')
    },
    {
      path: 'yuanLiaoRuKu_LR',
      name: '15700',
      meta: {
        ...meta,
        title: '原料管理'
      }
      // component: () => import('@/pages/kuCunGuanLi/yuanLiaoRuKu_LR')
    },
    {
      path: 'chengPingGuanLi',
      name: '15200',
      meta: {
        ...meta,
        title: '成品库管理'
      }
      // component: () => import('@/pages/kuCunGuanLi/chengPingGuanLi')
    },
    {
      path: 'beiJianGuanLi',
      name: '15300',
      meta: {
        ...meta,
        title: '备件管理'
      }
      // component: () => import('@/pages/kuCunGuanLi/beiJianGuanLi')
    },
    {
      path: 'kuCunYaoShuLuRu',
      name: '15400',
      meta: {
        ...meta,
        title: '库存要素录入'
      }
      // component: () => import('@/pages/kuCunGuanLi/kuCunYaoShuLuRu')
    },
    {
      path: 'daBaoJiGuanLi',
      name: '15500',
      meta: {
        ...meta,
        title: '打包机管理'
      }
      // component: () => import('@/pages/kuCunGuanLi/daBaoJiGuanLi')
    },
    {
      path: 'chengPingRuKu',
      name: '15600',
      meta: {
        ...meta,
        title: '成品入库'
      }
      // component: () => import('@/pages/kuCunGuanLi/chengPingRuKu')
    }
  ]
} as AppRouteRecord
